package com.ttai.dagger.module.activity;

import com.ttai.presenter.activity.AddAcountPresenter;
import com.ttai.ui.activity.AddAcount;

import dagger.Module;
import dagger.Provides;

@Module
public class AddAcountPresenterModule {
    AddAcount addAcount;

    public AddAcountPresenterModule(AddAcount addAcount) {
        this.addAcount = addAcount;
    }
    @Provides
    AddAcountPresenter provideAddAcountPresenter(){
        return new AddAcountPresenter(addAcount);
    }
}
